package com.article_main.spi;

import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.element.TypeElement;
import java.lang.annotation.Annotation;
import java.math.RoundingMode;

public interface CodeGenProcessor {
    /*
    需要获取类上的注解
     */
    Class<? extends Annotation> getAnnotation();
    String generatePackage(TypeElement typeElement);
    void generate(TypeElement typeElement, RoundEnvironment roundEnvironment) throws Exception;

}
